home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98a.txt
/
000062_icon-group-sender _Thu Feb 26 08:12:06 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id IAA09273
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Thu, 26 Feb 1998 08:12:05 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA32302; Thu, 26 Feb 1998 08:12:05 -0700
Date: Wed, 25 Feb 1998 19:23:02 -0600
Message-Id: <199802260123.TAA06524@segfault.cs.utsa.edu>
From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
To: icon-group@optima.CS.Arizona.EDU
In-Reply-To: <199802251930.NAA16169@axp.cmpu.net> (gep2@computek.net)
Subject: Re: Translation into C
Reply-To: jeffery@cs.utsa.edu
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 1439
> [Regarding Icon->C speedup potential]
> If the C program spends most of its time calling
> library routines, then I wouldn't expect much difference at all.
The Icon compiler at present speeds up execution by a factor of 2-4
compared with the interpreter. Potential speedups are much higher.
This is despite the [correct] observation that many programs spend
much of their time executing run-time library calls. The key
observation is that a compiler can optimize the runtime library calls.
Icon's optimizing compiler already does this pretty aggressively.
> I think that [speedup] for different implementations will vary...
> generally the overhead of an interpreter is less
> (and the advantages are more) for higher-level languages
These were some useful observations. Speedup will vary not just with
implementations but with the programs being compiled. Some Icon code
looks like Pascal code and pays heavily for interpretation, and other
Icon code is Amazing and Wild, and will benefit less from compilation.
Even Icon wizards use a fair amount of conventional procedural code along
with all the cool stuff, and the amount will vary with the application
domain and how well it can be mapped onto built-in language operations
and runtime system semantics.
Clint Jeffery, jeffery@cs.utsa.edu
Division of Computer Science, The University of Texas at San Antonio
Research http://www.cs.utsa.edu/research/plss.html